using Sanelib.DataView;
using Sanelib.DataView.Impl;
using StructureMap.Configuration.DSL;

namespace Common.Infrastructure
{
    public class CommonRegistry : Registry
    {
        public CommonRegistry()
        {
            Scan(x => { x.TheCallingAssembly(); x.WithDefaultConventions(); });
            For(typeof(IViewRepository<>)).Add(typeof(ViewRepository<>));
        }
    }
}